package com.java.shop.order.feign;

import com.java.common.to.WareSkuLockTo;
import com.java.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient("shop-ware")
public interface WareFeignService {
    @PostMapping("/ware/waresku/lock/order")
    R orderLockStock(@RequestBody WareSkuLockTo to);
}
